﻿namespace ProductDemo.Models
{
    public class Product
    {
        public int ProductId { get; set; }
        public string ProductName { get; set; } = string.Empty;
        public string Description { get; set; } = string.Empty;
        /// <summary>
        /// sqlite不支持decimal类型，所以这里用double代替
        /// </summary>
        public double Price { get; set; }
        public DateTime? CreatedDate { get; set; }
    }
}
